#include "QClickLabel.h"

QClickLabel::QClickLabel(QWidget *parent)
	: QLabel(parent)
{
}

QClickLabel::~QClickLabel()
{
}

void QClickLabel::mousePressEvent(QMouseEvent * mouseEvent)
{
	if (mouseEvent->button() == Qt::MouseButton::LeftButton)
	{
		emit clicked();
	}
	
	return QLabel::mousePressEvent(mouseEvent);
}
